<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>信息提示模板</title>
	<link rel="stylesheet" href="./Tpl/css/bootstrap.min.css">
	<style type="text/css">
		.main{
			margin-top: 100px;
		}

	</style>
</head>
<body>

    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">留言板</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <form class="navbar-form navbar-right">
            <div class="form-group">
              <input type="text" placeholder="Email" class="form-control">
            </div>
            <div class="form-group">
              <input type="password" placeholder="Password" class="form-control">
            </div>
            <button type="submit" class="btn btn-success">Sign in</button>
          </form>
        </div><!--/.navbar-collapse -->
      </div>
    </nav>


    <div class="container main">
      <!-- Example row of columns -->
      <div class="col-md-12" style="margin-top:20px;">
        <?php if(isset($error)) { ?>
            <div class="alert alert-danger" role="alert">
        <?php }else{ ?>
            <div class="alert alert-success" role="alert">
        <?php }?>
        <strong>你好</strong><?php echo $info ?>,<?php echo $time ?>后跳转到 <?php echo $url ?>
      </div>
      </div>
      <hr>

      <footer>
        <p>© 2016 Company, Inc.</p>
      </footer>
    </div> 
    <script type="text/javascript">

        function run () {
            location.replace('<?php echo $url ?>');
        }
        setTimeout(run, <?php echo $time*1000 ?>);

    </script>
  

</body>
</html>